﻿using System;
using System.Collections.Generic;
using System.Text;
using FireBillBook.Core.Models;

namespace FireBillBook.Core.Entities
{
    public class ConsumptionRecord:BaseRecord
    {
        public int Id { get; set; }
        public string Description { get; set; }
        
        /// <summary>
        /// 资金流向
        /// </summary>
        public FundFlowDirection FlowDirection { get; set; }

        /// <summary>
        /// 数额, 两位小数
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime TradingTime { get; set; }

        /// <summary>
        /// 交易途径，通过什么平台进行的交易
        /// </summary>
        public string TradingPlatform { get; set; }

        /// <summary>
        /// 消费类型
        /// </summary>
        public int ConsumptionTypeId { get; set; }


        /// <summary>
        /// 交易账户
        /// </summary>
        public int TradingAccountId { get; set; }
    }
}
